import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
import { withKnobs, number } from '@kadira/storybook-addon-knobs';
import { muiTheme } from 'storybook-addon-material-ui';
import ArrowTriangle from './ArrowTriangle';
/*global module*/

storiesOf('三角形矢印', module)
  .addDecorator(muiTheme())
  .addDecorator(withKnobs)
    .add('to 三角形矢印', () => (
      <ArrowTriangle
        width={number('width', 58)}
        height={number('width', 78)}
      />
    ));
